package org.lq.ht.view.vip;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;

import com.eltima.components.ui.DatePicker;



import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JCheckBox;
import javax.swing.JPasswordField;
import javax.swing.JSpinner;
import javax.swing.JComboBox;
import javax.swing.JEditorPane;
import javax.swing.JButton;

public class v_VipAdd extends JFrame {

	private JPanel contentPane;
	private JTextField textField;
	private JPasswordField passwordField;
	private JTextField textField_1;
	private JTextField textField_2;
	private JTextField textField_3;
	private JTextField textField_4;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					v_VipAdd frame = new v_VipAdd();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public v_VipAdd() {
		setTitle("Vip基本信息");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 323, 481);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JLabel lblNewLabel = new JLabel("会员卡号");
		lblNewLabel.setBounds(32, 26, 54, 15);
		contentPane.add(lblNewLabel);
		
		textField = new JTextField();
		textField.setBounds(96, 23, 87, 21);
		contentPane.add(textField);
		textField.setColumns(10);
		
		JCheckBox chckbxNewCheckBox = new JCheckBox("自动");
		chckbxNewCheckBox.setBounds(187, 22, 103, 23);
		contentPane.add(chckbxNewCheckBox);
		
		JLabel lblNewLabel_1 = new JLabel("密    码");
		lblNewLabel_1.setBounds(32, 58, 54, 15);
		contentPane.add(lblNewLabel_1);
		
		passwordField = new JPasswordField();
		passwordField.setBounds(96, 54, 123, 21);
		contentPane.add(passwordField);
		
		JLabel lblNewLabel_2 = new JLabel("折扣");
		lblNewLabel_2.setBounds(180, 88, 32, 15);
		contentPane.add(lblNewLabel_2);
		
		JSpinner spinner = new JSpinner();
		spinner.setBounds(210, 85, 60, 22);
		contentPane.add(spinner);
		
		JLabel lblNewLabel_3 = new JLabel("名    字");
		lblNewLabel_3.setBounds(32, 88, 54, 15);
		contentPane.add(lblNewLabel_3);
		
		textField_1 = new JTextField();
		textField_1.setBounds(96, 88, 74, 21);
		contentPane.add(textField_1);
		textField_1.setColumns(10);
		
		JLabel lblNewLabel_4 = new JLabel("手 机 号");
		lblNewLabel_4.setBounds(32, 123, 54, 15);
		contentPane.add(lblNewLabel_4);
		
		textField_2 = new JTextField();
		textField_2.setBounds(96, 120, 123, 21);
		contentPane.add(textField_2);
		textField_2.setColumns(10);
		
		JLabel lblNewLabel_5 = new JLabel("身份证号");
		lblNewLabel_5.setBounds(32, 161, 54, 15);
		contentPane.add(lblNewLabel_5);
		
		textField_3 = new JTextField();
		textField_3.setBounds(96, 158, 123, 21);
		contentPane.add(textField_3);
		textField_3.setColumns(10);
		
		JLabel lblNewLabel_6 = new JLabel("地    址");
		lblNewLabel_6.setBounds(32, 197, 54, 15);
		contentPane.add(lblNewLabel_6);
		
		textField_4 = new JTextField();
		textField_4.setBounds(96, 194, 123, 21);
		contentPane.add(textField_4);
		textField_4.setColumns(10);
		
		JLabel lblNewLabel_7 = new JLabel("会员类型");
		lblNewLabel_7.setBounds(32, 236, 54, 15);
		contentPane.add(lblNewLabel_7);
		
		JComboBox comboBox = new JComboBox();
		comboBox.setBounds(96, 232, 81, 23);
		contentPane.add(comboBox);
		
		JLabel lblNewLabel_8 = new JLabel("积分");
		lblNewLabel_8.setBounds(187, 236, 32, 15);
		contentPane.add(lblNewLabel_8);
		
		JSpinner spinner_1 = new JSpinner();
		spinner_1.setBounds(216, 233, 54, 22);
		contentPane.add(spinner_1);
		
		DatePicker dp = new DatePicker();
		dp.setLocation(96, 270);
		contentPane.add(dp);
		
		JLabel lblNewLabel_9 = new JLabel("办卡日期");
		lblNewLabel_9.setBounds(32, 276, 54, 15);
		contentPane.add(lblNewLabel_9);
		
		JLabel lblNewLabel_10 = new JLabel("备    注");
		lblNewLabel_10.setBounds(32, 315, 54, 15);
		contentPane.add(lblNewLabel_10);
		
		JEditorPane editorPane = new JEditorPane();
		editorPane.setBounds(96, 315, 160, 50);
		contentPane.add(editorPane);
		
		JButton btnNewButton = new JButton("确定");
		btnNewButton.setBounds(48, 396, 93, 23);
		contentPane.add(btnNewButton);
		
		JButton btnNewButton_1 = new JButton("重置");
		btnNewButton_1.setBounds(177, 396, 93, 23);
		contentPane.add(btnNewButton_1);
	}
}
